home *** CD-ROM | disk | FTP | other *** search
- :* --version 1.01, 1-7-93
- :* --written by Don Hancock
- :* --9758 Sandridge Drive
- :* --Sandy, UT 84092-3035
- @ECHO OFF
- :* --This Deletes any OLD files left in the \Work1\ subdirectory.
- :* --This eliminates any possibility of new files mixing with old.
- ECHO.
- MD \CREATE\WORK1
- :* --Zips up the junk Files, if any, then Deletes that Zip file.
- PKZIP -M \CREATE\WORK1\JUNK~~ \CREATE\WORK1\*.*
- DEL \CREATE\WORK1\JUNK~~.ZIP
- :* --Changes to the storage directory.
- CD\CREATE\WORK
- :* --Unzips files from the storage area to the \Work1 subdirectory.
- PKUNZIP %1 -D \CREATE\WORK1
- :* --Changes to the working directory.
- CD\CREATE\WORK1
- :* --Runs the program (with switches, if needed).
- %1 %2
- CLS
- echo.
- echo.
- echo.
- echo.
- echo.
- :* --Ask if everything is OK
- :* --This gives you a chance to break out and edit or
- :* --change some files before they are achived back.
- ECHO Did Everything Go O.K.?
- ECHO.
- echo If not, or if you want to change or edit some files,
- echo escape from this batch file by using the {CTRL}+{BREAK} key
- echo combination. Remember to CREATE another archive if you make
- echo any changes or they won't be saved.
- echo.
- echo Did you register or at least send a Thank You Card ?
- echo.
- PAUSE
- CLS
- :* --Make sure we're where we want to be.
- cd\CREATE\WORK1
- :* --Zip & Move (delete) back to storage area, Add changed files (-U)
- PKZIP -MU -EX -rp \CREATE\WORK\%1 *.*
- :* --Returns to ROOT DIRECTORY (or change the next line to wherever you would like
- :* --to be after running program). Delete this line if it's a problem.
- CD\